package org.example.xml;

import org.apache.xml.resolver.readers.SAXParserHandler;
import org.xml.sax.HandlerBase;
import org.xml.sax.SAXException;

import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import java.io.IOException;
import java.util.Random;
import java.util.concurrent.TimeUnit;
import java.util.function.Supplier;

/**
 * @author Yyming
 * @version 10.0
 * Created by Yyming on 2021/1/19
 */
public class XMLP {

    interface AAA {
        void eat();

    }

    public static void main(String[] args) throws ParserConfigurationException, SAXException, IOException, InterruptedException {
        String a = "dsa";

        AAA aaa = new AAA() {

            @Override
            public void eat() {
                System.out.println(a);
            }
        };

        aaa.eat();
        int b = 1;



    }
}
